<!DOCTYPE html>
<html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title></title>
<meta name="keywords" content="">
<meta name="description" content="">
<link rel="shortcut icon" href="favicon.ico">
<link href="css/bootstrap.min.css?v=3.3.6"
      th:href="@{/css/bootstrap.min.css?v=3.3.6}" rel="stylesheet">
<link href="/css/font-awesome.css?v=4.4.0"
      th:href="@{/css/font-awesome.css?v=4.4.0}" rel="stylesheet">
<link href="/css/plugins/bootstrap-table/bootstrap-table.min.css"
      th:href="@{/css/plugins/bootstrap-table/bootstrap-table.min.css}"
      rel="stylesheet">
<link href="/css/plugins/jsTree/style.min.css" rel="stylesheet">
<link href="/css/plugins/jqTreeGrid/jquery.treegrid.css"
      rel="stylesheet">
<!--summernote css -->
<link href="/css/plugins/summernote/summernote-0.8.8.css"
      rel="stylesheet">
<link href="css/animate.css" th:href="@{/css/animate.css}"
      rel="stylesheet">
<link href="/css/plugins/chosen/chosen.css" rel="stylesheet">
<link href="/css/style.css?v=4.1.0" th:href="@{/css/style.css?v=4.1.0}"
      rel="stylesheet">
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="col-sm-12">
        <div class="ibox">
            <div class="ibox-body">
                <div class="fixed-table-toolbar">
                    <div class="columns pull-right">
                        <button class="btn btn-white" onclick="ref()">重置</button>
                        <button class="btn btn-success" onclick="reLoad()">查询</button>
                    </div>
                    <form id="search">
                                                                                                                                                            <div class="columns pull-left nopadding">
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;短信唯一id：
                            </div>
                            <div class="columns pull-left col-md-1 nopadding">
                                <input id="mid" type="text" class="form-control"
                                       placeholder="短信唯一id">
                            </div>
                                                                                                                                                        <div class="columns pull-left nopadding">
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;接入号：
                            </div>
                            <div class="columns pull-left col-md-1 nopadding">
                                <input id="destid" type="text" class="form-control"
                                       placeholder="接入号">
                            </div>
                                                                                                                                                        <div class="columns pull-left nopadding">
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;网卡号：
                            </div>
                            <div class="columns pull-left col-md-1 nopadding">
                                <input id="srcterminalid" type="text" class="form-control"
                                       placeholder="网卡号">
                            </div>
                                                                                                                                                        <div class="columns pull-left nopadding">
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;通道号：
                            </div>
                            <div class="columns pull-left col-md-1 nopadding">
                                <input id="channelNo" type="text" class="form-control"
                                       placeholder="通道号">
                            </div>
                                                                                                                                                        <div class="columns pull-left nopadding">
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;序列码：
                            </div>
                            <div class="columns pull-left col-md-1 nopadding">
                                <input id="sequenceid" type="text" class="form-control"
                                       placeholder="序列码">
                            </div>
                                                                                                                                                        <div class="columns pull-left nopadding">
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;手机号：
                            </div>
                            <div class="columns pull-left col-md-1 nopadding">
                                <input id="mobile" type="text" class="form-control"
                                       placeholder="手机号">
                            </div>
                                                                                                                                                        <div class="columns pull-left nopadding">
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;短信内容：
                            </div>
                            <div class="columns pull-left col-md-1 nopadding">
                                <input id="msgContent" type="text" class="form-control"
                                       placeholder="短信内容">
                            </div>
                                                                                                                                                        <div class="columns pull-left nopadding">
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;扩展码：
                            </div>
                            <div class="columns pull-left col-md-1 nopadding">
                                <input id="extend" type="text" class="form-control"
                                       placeholder="扩展码">
                            </div>
                                                                                                                                                        <div class="columns pull-left nopadding">
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;短信拆分条数：
                            </div>
                            <div class="columns pull-left col-md-1 nopadding">
                                <input id="count" type="text" class="form-control"
                                       placeholder="短信拆分条数">
                            </div>
                                                                                                                                                        <div class="columns pull-left nopadding">
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;短信状态，0：未知，1：成功，2：失败：
                            </div>
                            <div class="columns pull-left col-md-1 nopadding">
                                <input id="status" type="text" class="form-control"
                                       placeholder="短信状态，0：未知，1：成功，2：失败">
                            </div>
                                                                                                                                                        <div class="columns pull-left nopadding">
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;错误码：
                            </div>
                            <div class="columns pull-left col-md-1 nopadding">
                                <input id="statusCode" type="text" class="form-control"
                                       placeholder="错误码">
                            </div>
                                                                                                                                                        <div class="columns pull-left nopadding">
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;接收日期，yyyyMMdd：
                            </div>
                            <div class="columns pull-left col-md-1 nopadding">
                                <input id="sendDate" type="text" class="form-control"
                                       placeholder="接收日期，yyyyMMdd">
                            </div>
                                                                                                                                                                                                                                                                                        </form>
                </div>

                <hr/>
                <div class="fixed-table-toolbar">
                    <div class="columns pull-left">
                        <button  type="button"
                                class="btn  btn-primary" onclick="add()">
                            <i class="fa fa-plus" aria-hidden="true"></i>添加
                        </button>
                        <button  type="button"
                                class="btn  btn-danger"
                                onclick="batchRemove()">
                            <i class="fa fa-trash" aria-hidden="true"></i>删除
                        </button>
                        <button  onclick="downLoadTemplateSmsAcceptMsg()" type="button" class="btn btn-success waves-effect waves-light">
                            短信接收记录表模板下载
                        </button>
                        <button  id="btnUpload" type="button" class="btn btn-success waves-effect waves-light">
                            导入
                        </button>
                        <button  type="button"
                                class="btn  btn-warning"
                                onclick="exportColumn()">
                            导出
                        </button>
                    </div>
                </div>
                <table id="exampleTable" data-mobile-responsive="true">
                </table>
            </div>
        </div>
    </div>
</div>
<!--shiro控制bootstraptable行内按钮看见性 来自bootdo的创新方案 -->
<div>
    <script type="text/javascript">
        var s_edit_h = 'hidden';
        var s_remove_h = 'hidden';
        var s_review_h = 'hidden';
        var s_resetPwd_h = 'hidden';
    </script>
</div>
<div shiro:hasPermission="cm:smsAcceptMsg:edit">
    <script type="text/javascript">
        s_edit_h = '';
    </script>
</div>
<div shiro:hasPermission="cm:smsAcceptMsg:remove">
    <script type="text/javascript">
        var s_remove_h = '';
    </script>
</div>
<div shiro:hasPermission="cm:smsAcceptMsg:review">
    <script type="text/javascript">
        var s_review_h = '';
    </script>
</div>
<div shiro:hasPermission="cm:smsAcceptMsg:resetPwd">
    <script type="text/javascript">
        var s_resetPwd_h = '';
    </script>
</div>
</div>
<script src="/js/jquery.min.js?v=2.1.4"></script>
<script src="/js/bootstrap.min.js?v=3.3.6"></script>
<script src="/js/plugins/bootstrap-table/bootstrap-table.min.js"></script>
<script src="/js/plugins/bootstrap-table/bootstrap-table-mobile.min.js"></script>
<script
        src="/js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
<script src="/js/plugins/validate/jquery.validate.min.js"></script>
<script src="/js/plugins/validate/messages_zh.min.js"></script>
<script src="/js/plugins/jsTree/jstree.min.js"></script>
<script src="/js/plugins/jqTreeGrid/jquery.treegrid.min.js"></script>
<script src="/js/plugins/jqTreeGrid/jquery.treegrid.extension.js"></script>
<script src="/js/plugins/jqTreeGrid/jquery.treegrid.bootstrap3.js"></script>
<script src="/js/plugins/chosen/chosen.jquery.js"></script>
<script src="/js/plugins/layer/layer.js"></script>
<script src="/js/content.js?v=1.0.0"></script>
<!--summernote-->
<script src="/js/plugins/summernote/summernote.js"></script>
<script src="/js/plugins/summernote/summernote-zh-CN.min.js"></script>
<script src="/js/ajax-util.js"></script>
<script type="text/javascript" src="/js/plugins/laydate/laydate.js">
</script>
<script type="text/javascript" src="/js/layui.js">
</script>
<script type="text/javascript" src="/js/appjs/sys/user/add.js">
</script>
<script type="text/javascript" src="/js/appjs/sys/role/role.js">

</script>
<script type="text/javascript">
    document.write("<script type='text/javascript' src='/js/appjs/cm/smsAcceptMsg/smsAcceptMsg.js?r=" + Math.random() + "'></s" + "cript>");
</script>
<script type="text/javascript">
    document.write("<script type='text/javascript' src='/js/appjs/cm/smsAcceptMsg/common.js?r=" + Math.random() + "'></s" + "cript>");
</script>
</body>
</html>